<!doctype html>
<html lang="ko">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width,initial-scale=1.0,minimum-scale=1.0,maximum-scale=1.0">
<link rel="shortcut icon" type="image/x-icon" href="../assets/favicon.ico">
<title>source\jindo.Timer.js - Jindo Component - AjaxUI@NHN</title>
<link rel="stylesheet" type="text/css" href="../assets/prettify/prettify-min.css" media="screen">
<script type="text/javascript">
	var isMobile = (function() {
		var r = window.devicePixelRatio || 1;
		if (/windows phone/i.test(navigator.userAgent)) { r = 2; }
		
		var s = Math.max(screen.width / r, screen.height / r);
		
		var m = s < 1024;
		var href = m ? "api.mobile.css" : "api.css";
		document.write('<link rel="stylesheet" type="text/css" href="../assets/' + href + '" media="screen">');
		
		return m;
	})();
</script>

<script type="text/javascript" src="../assets/jindo.desktop.min.js"></script>
<script type="text/javascript" src="../assets/jindo_component.min.js"></script>
</head>
<body class="api-page">
<div id="wrap" class="api-main"><!-- 2Depth 접기 : lft_fold 추가 -->

	<div id="header">
		<h1><a href="../index.html"><span class="blind">JindoJS</span></a></h1>
		<div class="info">
			<span class="version">version 1.6.0</span>
			<span class="bar">|</span>
			<span class="help"><span class="ic_help"></span><a href="http://devcode.nhncorp.com/projects/jindo-component/issue" target="_blank">버그신고/문의</a></span>
		</div>
		<div class="menu">
			<button type="button" id="toggle_search_btn" class="btn_sch"><span class="blind">검색</span></button>
			<button type="button" id="toggle_list_btn" class="btn_snb btn_snb_on"><span class="blind">메뉴</span></button>
			<!-- [D] 클릭시 btn_sch_on,btn_snb_on 추가 -->
		</div>
	</div>

	<!-- sch_frm -->
	<div class="sch_frm hide_when_small">
		<h2 class="blind">검색</h2>
		<div class="filter">
			<input type="search" id="api-filter" placeholder="검색어를 입력하세요.">
		</div>
		<div id="search-tab" style="display:none;">
			<ul class="tabs">
			<li class="tc-tab">전체</li>
			<li class="tc-tab">키워드</li>
			<li class="tc-tab">클래스</li>
			<li class="tc-tab">메서드</li>
			<li class="tc-tab">프로퍼티</li>
			<li class="tc-tab">이벤트</li>
			</ul>
			<div class="panels">
				<ul id="api-all" class="tc-panel"></ul>
				<ul id="api-keywords" class="tc-panel"></ul>
				<ul id="api-classes" class="tc-panel"></ul>
				<ul id="api-methods" class="tc-panel"></ul>
				<ul id="api-attrs" class="tc-panel"></ul>
				<ul id="api-events" class="tc-panel"></ul>
			</div>

		</div>
	</div>
	<!-- // sch_frm -->

	<!-- container -->
	<div id="container">
		<!-- left-columns -->
		<div id="left-columns" class="sidemenu has_scrollbar">
			<h2 class="blind"><a href="../index.html"><span>APIs</span></a></h2>
<div class="snb depth1 scrollbar hide_when_small">
	<!-- [D] style="width:135px; height:384px; -->
	<div class="scrollbar-box">
		<div class="scrollbar-content">
			<div><ul>
			            <li class="">
			            	<a href="../classes/jindo.Accordion.html" class="">
			                	Accordion
								
								

							    
						        
			            	</a>
			            </li>
			        
			            <li class="">
			            	<a href="../classes/jindo.AjaxHistory.html" class="">
			                	AjaxHistory
								
								

							    
						        
			            	</a>
			            </li>
			        
			            <li class="">
			            	<a href="../classes/jindo.BrowseButton.html" class="">
			                	BrowseButton
								
								

							    
						        
			            	</a>
			            </li>
			        
			            <li class="">
			            	<a href="../classes/jindo.Cache.html" class="">
			                	Cache
								
								

							    
						        
			            	</a>
			            </li>
			        
			            <li class="">
			            	<a href="../classes/jindo.Calendar.html" class="">
			                	Calendar
								
								

							    
						        
			            	</a>
			            </li>
			        
			            <li class="">
			            	<a href="../classes/jindo.Canvas.html" class="">
			                	Canvas
								
								

							    
						        
			            	</a>
			            </li>
			        
			            <li class="">
			            	<a href="../classes/jindo.CheckBox.html" class="">
			                	CheckBox
								
								

							    
						        
			            	</a>
			            </li>
			        
			            <li class="">
			            	<a href="../classes/jindo.CircularRolling.html" class="">
			                	CircularRolling
								
								

							    
						        
			            	</a>
			            </li>
			        
			            <li class="">
			            	<a href="../classes/jindo.Clipboard.html" class="">
			                	Clipboard
								
								

							    
						        
			            	</a>
			            </li>
			        
			            <li class="">
			            	<a href="../classes/jindo.Component.html" class="">
			                	Component
								
								

							    
						        
			            	</a>
			            </li>
			        
			            <li class="">
			            	<a href="../classes/jindo.DataBridge.html" class="">
			                	DataBridge
								
								

							    
						        
			            	</a>
			            </li>
			        
			            <li class="">
			            	<a href="../classes/jindo.DatePicker.html" class="">
			                	DatePicker
								
								

							    
						        
			            	</a>
			            </li>
			        
			            <li class="">
			            	<a href="../classes/jindo.DefaultTextValue.html" class="">
			                	DefaultTextValue
								
								

							    
						        
			            	</a>
			            </li>
			        
			            <li class="">
			            	<a href="../classes/jindo.Dialog.html" class="">
			                	Dialog
								
								

							    
						        
			            	</a>
			            </li>
			        
			            <li class="">
			            	<a href="../classes/jindo.DragArea.html" class="">
			                	DragArea
								
								

							    
						        
			            	</a>
			            </li>
			        
			            <li class="">
			            	<a href="../classes/jindo.DropArea.html" class="">
			                	DropArea
								
								

							    
						        
			            	</a>
			            </li>
			        
			            <li class="">
			            	<a href="../classes/jindo.DynamicTree.html" class="">
			                	DynamicTree
								
								

							    
						        
			            	</a>
			            </li>
			        
			            <li class="">
			            	<a href="../classes/jindo.Effect.html" class="">
			                	Effect
								
								

							    
						        
						            <span class="flag static" title="static"><span class="blind">static</span></span>
						        
			            	</a>
			            </li>
			        
			            <li class="">
			            	<a href="../classes/jindo.FileUploader.html" class="">
			                	FileUploader
								
								

							    
						        
			            	</a>
			            </li>
			        
			            <li class="">
			            	<a href="../classes/jindo.FloatingLayer.html" class="">
			                	FloatingLayer
								
								

							    
						        
			            	</a>
			            </li>
			        
			            <li class="">
			            	<a href="../classes/jindo.Foggy.html" class="">
			                	Foggy
								
								

							    
						        
			            	</a>
			            </li>
			        
			            <li class="">
			            	<a href="../classes/jindo.Formatter.html" class="">
			                	Formatter
								
								

							    
						        
			            	</a>
			            </li>
			        
			            <li class="">
			            	<a href="../classes/jindo.HTMLComponent.html" class="">
			                	HTMLComponent
								
								

							    
						        
			            	</a>
			            </li>
			        
			            <li class="">
			            	<a href="../classes/jindo.InlineTextEdit.html" class="">
			                	InlineTextEdit
								
								

							    
						        
			            	</a>
			            </li>
			        
			            <li class="">
			            	<a href="../classes/jindo.LayerEffect.html" class="">
			                	LayerEffect
								
								

							    
						        
			            	</a>
			            </li>
			        
			            <li class="">
			            	<a href="../classes/jindo.LayerManager.html" class="">
			                	LayerManager
								
								

							    
						        
			            	</a>
			            </li>
			        
			            <li class="">
			            	<a href="../classes/jindo.LayerPosition.html" class="">
			                	LayerPosition
								
								

							    
						        
			            	</a>
			            </li>
			        
			            <li class="">
			            	<a href="../classes/jindo.LazyLoading.html" class="">
			                	LazyLoading
								
								

							    
						        
						            <span class="flag static" title="static"><span class="blind">static</span></span>
						        
			            	</a>
			            </li>
			        
			            <li class="">
			            	<a href="../classes/jindo.ModalDialog.html" class="">
			                	ModalDialog
								
								

							    
						        
			            	</a>
			            </li>
			        
			            <li class="">
			            	<a href="../classes/jindo.MouseGesture.html" class="">
			                	MouseGesture
								
								

							    
						        
			            	</a>
			            </li>
			        
			            <li class="">
			            	<a href="../classes/jindo.MultipleAjaxRequest.html" class="">
			                	MultipleAjaxRequest
								
								

							    
						        
			            	</a>
			            </li>
			        
			            <li class="">
			            	<a href="../classes/jindo.NumberFormatter.html" class="">
			                	NumberFormatter
								
								

							    
						        
			            	</a>
			            </li>
			        
			            <li class="">
			            	<a href="../classes/jindo.NumericStepper.html" class="">
			                	NumericStepper
								
								

							    
						        
			            	</a>
			            </li>
			        
			            <li class="">
			            	<a href="../classes/jindo.Pagination.html" class="">
			                	Pagination
								
								

							    
						        
			            	</a>
			            </li>
			        
			            <li class="">
			            	<a href="../classes/jindo.Rolling.html" class="">
			                	Rolling
								
								

							    
						        
			            	</a>
			            </li>
			        
			            <li class="">
			            	<a href="../classes/jindo.RollingChart.html" class="">
			                	RollingChart
								
								

							    
						        
			            	</a>
			            </li>
			        
			            <li class="">
			            	<a href="../classes/jindo.RolloverArea.html" class="">
			                	RolloverArea
								
								

							    
						        
			            	</a>
			            </li>
			        
			            <li class="">
			            	<a href="../classes/jindo.RolloverClick.html" class="">
			                	RolloverClick
								
								

							    
						        
			            	</a>
			            </li>
			        
			            <li class="">
			            	<a href="../classes/jindo.ScrollBar.html" class="">
			                	ScrollBar
								
								

							    
						        
			            	</a>
			            </li>
			        
			            <li class="">
			            	<a href="../classes/jindo.ScrollBox.html" class="">
			                	ScrollBox
								
								

							    
						        
			            	</a>
			            </li>
			        
			            <li class="">
			            	<a href="../classes/jindo.SelectArea.html" class="">
			                	SelectArea
								
								

							    
						        
			            	</a>
			            </li>
			        
			            <li class="">
			            	<a href="../classes/jindo.SelectBox.html" class="">
			                	SelectBox
								
								

							    
						        
			            	</a>
			            </li>
			        
			            <li class="">
			            	<a href="../classes/jindo.Slider.html" class="">
			                	Slider
								
								

							    
						        
			            	</a>
			            </li>
			        
			            <li class="">
			            	<a href="../classes/jindo.StarRating.html" class="">
			                	StarRating
								
								

							    
						        
			            	</a>
			            </li>
			        
			            <li class="">
			            	<a href="../classes/jindo.TabControl.html" class="">
			                	TabControl
								
								

							    
						        
			            	</a>
			            </li>
			        
			            <li class="">
			            	<a href="../classes/jindo.TextRange.html" class="">
			                	TextRange
								
								

							    
						        
			            	</a>
			            </li>
			        
			            <li class="">
			            	<a href="../classes/jindo.Timer.html" class="">
			                	Timer
								
								

							    
						        
			            	</a>
			            </li>
			        
			            <li class="">
			            	<a href="../classes/jindo.Transition.html" class="">
			                	Transition
								
								

							    
						        
			            	</a>
			            </li>
			        
			            <li class="">
			            	<a href="../classes/jindo.Tree.html" class="">
			                	Tree
								
								

							    
						        
			            	</a>
			            </li>
			        
			            <li class="">
			            	<a href="../classes/jindo.UIComponent.html" class="">
			                	UIComponent
								
								

							    
						        
			            	</a>
			            </li>
			        
			            <li class="">
			            	<a href="../classes/jindo.UploadQueue.html" class="">
			                	UploadQueue
								
								

							    
						        
			            	</a>
			            </li>
			        
			            <li class="">
			            	<a href="../classes/jindo.WatchInput.html" class="">
			                	WatchInput
								
								

							    
						        
			            	</a>
			            </li>
			        </ul></div>
		</div>
	</div>
	<div class="scrollbar-v">
		<div class="scrollbar-button-up"></div>
		<div class="scrollbar-track">
			<div class="scrollbar-thumb" style="top: 0px; height: 222px; "></div>
		</div>
		<div class="scrollbar-button-down"></div>
	</div>
</div>


<button type="button" title="펼치기" class="btn_open">바로가기 열기<span class="ic"></span></button>
<button type="button" title="접기" class="btn_close">바로가기 닫기<span class="ic"></span></button>

		</div>
		<!-- // left-columns -->

		<!-- main content -->
		<div id="main">
			<div class="main_fix">
				<div class="content">
	
	<h1 class="blind">source/jindo.Timer.js</h1>
	<div class="tc-panel first">
		<dl class="relation">
			<dt>파일명</dt>
			<dd>jindo.Timer.js</dd>
			<dt>경로</dt>
			<dd>source/</dd>
		</dl>
		<div id="file" class="file">
		    <pre class="code prettyprint linenums">/**
	@fileOverview&nbsp;타이머를&nbsp;편리하게&nbsp;사용할&nbsp;수&nbsp;있게해주는&nbsp;컴포넌트
	@version&nbsp;#__VERSION__#
**/
/**
	
	타이머의&nbsp;사용을&nbsp;편리하게&nbsp;해주는&nbsp;컴포넌트
	
	@class&nbsp;jindo.Timer
	@extends&nbsp;jindo.Component
	@keyword&nbsp;timer,&nbsp;타이머,&nbsp;setTimeout,&nbsp;setInterval
&nbsp;*/
jindo.Timer&nbsp;=&nbsp;jindo.$Class({
	/**&nbsp;@lends&nbsp;jindo.Timer.prototype&nbsp;*/

	/**
		Timer&nbsp;컴포넌트를&nbsp;초기화한다.
		
		@constructor
&nbsp;	&nbsp;*/
	$init&nbsp;:&nbsp;function()&nbsp;{&nbsp;
		this._nTimer&nbsp;=&nbsp;null;
		this._nLatest&nbsp;=&nbsp;null;
		this._nRemained&nbsp;=&nbsp;0;
		this._nDelay&nbsp;=&nbsp;null;
		this._fRun&nbsp;=&nbsp;null;
		this._bIsRunning&nbsp;=&nbsp;false;
	},
	
	/**
		함수를&nbsp;지정한&nbsp;시간이&nbsp;지난&nbsp;후에&nbsp;실행한다.&nbsp;실행될&nbsp;콜백&nbsp;함수가&nbsp;true&nbsp;를&nbsp;리턴하면&nbsp;setInterval&nbsp;을&nbsp;사용한&nbsp;것처럼&nbsp;계속&nbsp;반복해서&nbsp;수행된다.
		
		@method&nbsp;start
		@param&nbsp;{Function}&nbsp;fCallback&nbsp;지정된&nbsp;지연&nbsp;시간&nbsp;이후에&nbsp;실행될&nbsp;콜백&nbsp;함수
		@param&nbsp;{Number}&nbsp;nDelay&nbsp;msec&nbsp;단위의&nbsp;지연&nbsp;시간
		@return&nbsp;{Boolean}&nbsp;항상&nbsp;true
		@example
			var&nbsp;o&nbsp;=&nbsp;new&nbsp;jindo.Timer();
			o.start(function()&nbsp;{
				//&nbsp;...
				return&nbsp;true;
			},&nbsp;100);
		
		@history&nbsp;1.3.0&nbsp;Bug&nbsp;fRun&nbsp;에서&nbsp;예외가&nbsp;발생하면&nbsp;리턴&nbsp;값과&nbsp;관계없이&nbsp;계속&nbsp;반복되는&nbsp;문제&nbsp;수정
	**/
&nbsp;	start&nbsp;:&nbsp;function(fRun,&nbsp;nDelay)&nbsp;{
		this.abort();
		
		this._nRemained&nbsp;=&nbsp;0;
		this._nDelay&nbsp;=&nbsp;nDelay;
		this._fRun&nbsp;=&nbsp;fRun;
		
		this._bIsRunning&nbsp;=&nbsp;true;
		this._nLatest&nbsp;=&nbsp;this._getTime();
		this.fireEvent(&#39;wait&#39;);
		this._excute(this._nDelay,&nbsp;false);
		
		return&nbsp;true;
	},
	
	/**
		타이머의&nbsp;동작&nbsp;여부를&nbsp;가져온다.
		
		@method&nbsp;isRunning
		@return&nbsp;{Boolean}&nbsp;동작중이면&nbsp;true,&nbsp;그렇지&nbsp;않으면&nbsp;false
	**/
	isRunning&nbsp;:&nbsp;function()&nbsp;{
		return&nbsp;this._bIsRunning;
	},
	
	_getTime&nbsp;:&nbsp;function()&nbsp;{
		return&nbsp;new&nbsp;Date().getTime();
	},
	
	_clearTimer&nbsp;:&nbsp;function()&nbsp;{
		var&nbsp;bFlag&nbsp;=&nbsp;false;
		
		if&nbsp;(this._nTimer)&nbsp;{
			clearTimeout(this._nTimer);
			this._bIsRunning&nbsp;=&nbsp;false;
			bFlag&nbsp;=&nbsp;true;
		}
		
		this._nTimer&nbsp;=&nbsp;null;
		return&nbsp;bFlag;
	},
	
	/**
		현재&nbsp;대기상태에&nbsp;있는&nbsp;타이머를&nbsp;중단시킨다.
		
		@method&nbsp;abort
		@return&nbsp;{Boolean}&nbsp;이미&nbsp;멈춰있었으면&nbsp;false,&nbsp;그렇지&nbsp;않으면&nbsp;true
		
		@history&nbsp;1.3.0&nbsp;Bug&nbsp;pause&nbsp;후에&nbsp;abort&nbsp;하면&nbsp;제대로&nbsp;abort&nbsp;되지&nbsp;않는&nbsp;문제&nbsp;수정
	**/
	abort&nbsp;:&nbsp;function()&nbsp;{
		this._clearTimer();
		if&nbsp;(this._fRun)&nbsp;{
			/**
				Timer가&nbsp;수행을&nbsp;강제로&nbsp;종료했을&nbsp;때&nbsp;발생
				
				@event&nbsp;abort
				@param&nbsp;{String}&nbsp;sType&nbsp;커스텀&nbsp;이벤트명
				@example
					//&nbsp;커스텀&nbsp;이벤트&nbsp;핸들링&nbsp;예제
					oTimer.attach(&quot;abort&quot;,&nbsp;function(oCustomEvent)&nbsp;{&nbsp;...&nbsp;});
			**/
			this.fireEvent(&#39;abort&#39;);
			this._fRun&nbsp;=&nbsp;null;
			
			return&nbsp;true;
		}
		return&nbsp;false;
	},
	
	/**
		현재&nbsp;동작하고&nbsp;있는&nbsp;타이머를&nbsp;일시정지&nbsp;시킨다.
		
		@method&nbsp;pause
		@return&nbsp;{Boolean}&nbsp;이미&nbsp;멈춰있었으면&nbsp;false,&nbsp;그렇지&nbsp;않으면&nbsp;true
	**/
	pause&nbsp;:&nbsp;function()&nbsp;{
		var&nbsp;nPassed&nbsp;=&nbsp;this._getTime()&nbsp;-&nbsp;this._nLatest;
		this._nRemained&nbsp;=&nbsp;Math.max(this._nDelay&nbsp;-&nbsp;nPassed,&nbsp;0);
		
		return&nbsp;this._clearTimer();
	},
	
	_excute&nbsp;:&nbsp;function(nDelay,&nbsp;bResetDelay)&nbsp;{
		var&nbsp;self&nbsp;=&nbsp;this;
		this._clearTimer();
	
		this._bIsRunning&nbsp;=&nbsp;true;
		
		var&nbsp;launcher&nbsp;=&nbsp;function(bDontUseTimer)&nbsp;{
			
			if&nbsp;(!self._fRun)&nbsp;{&nbsp;return;&nbsp;}
			
			if&nbsp;(self._nTimer&nbsp;||&nbsp;bDontUseTimer)&nbsp;{&nbsp;//self._nTimer가&nbsp;null일때도&nbsp;간헐적으로&nbsp;수행되는&nbsp;버그가&nbsp;있어&nbsp;추가
				/**
					Timer&nbsp;동작&nbsp;수행이&nbsp;시작될&nbsp;때&nbsp;발생
					
					@event&nbsp;run
					@param&nbsp;{String}&nbsp;sType&nbsp;커스텀&nbsp;이벤트명
					@example
						//&nbsp;커스텀&nbsp;이벤트&nbsp;핸들링&nbsp;예제
						oTimer.attach(&quot;run&quot;,&nbsp;function(oCustomEvent)&nbsp;{&nbsp;...&nbsp;});
				**/
				self.fireEvent(&#39;run&#39;);
				
				var&nbsp;r&nbsp;=&nbsp;self._fRun();
				self._nLatest&nbsp;=&nbsp;self._getTime();
				
				if&nbsp;(!r)&nbsp;{
					if&nbsp;(!bDontUseTimer)&nbsp;{
						clearTimeout(self._nTimer);
					}
					self._nTimer&nbsp;=&nbsp;null;
					self._bIsRunning&nbsp;=&nbsp;false;
					/**
						Timer&nbsp;동작이&nbsp;종료될&nbsp;때&nbsp;발생
						
						@event&nbsp;end
						@param&nbsp;{String}&nbsp;sType&nbsp;커스텀&nbsp;이벤트명
						@example
							//&nbsp;커스텀&nbsp;이벤트&nbsp;핸들링&nbsp;예제
							oTimer.attach(&quot;end&quot;,&nbsp;function(oCustomEvent)&nbsp;{&nbsp;...&nbsp;});
					**/
					self.fireEvent(&#39;end&#39;);
					return;
				}
				
				/**
					Timer가&nbsp;기다리기&nbsp;시작한&nbsp;시점에&nbsp;발생
					
					@event&nbsp;wait
					@param&nbsp;{String}&nbsp;sType&nbsp;커스텀&nbsp;이벤트명
					@example
						//&nbsp;커스텀&nbsp;이벤트&nbsp;핸들링&nbsp;예제
						oTimer.attach(&quot;wait&quot;,&nbsp;function(oCustomEvent)&nbsp;{&nbsp;...&nbsp;});
				**/
				self.fireEvent(&#39;wait&#39;);
				self._excute(self._nDelay,&nbsp;false);
			}
		};
		
		if&nbsp;(nDelay&nbsp;&gt;&nbsp;-1)&nbsp;{
			this._nTimer&nbsp;=&nbsp;setTimeout(launcher,&nbsp;nDelay);
		}&nbsp;else&nbsp;{
			launcher(true);
		}
	},
	
	/**
		일시정지&nbsp;상태인&nbsp;타이머를&nbsp;재개시킨다.
		
		@method&nbsp;resume
		@return&nbsp;{Boolean}&nbsp;재개에&nbsp;성공했으면&nbsp;true,&nbsp;그렇지&nbsp;않으면&nbsp;false
	**/
	resume&nbsp;:&nbsp;function()&nbsp;{
		if&nbsp;(!this._fRun&nbsp;||&nbsp;this.isRunning())&nbsp;{
			return&nbsp;false;
		}
		
		this._bIsRunning&nbsp;=&nbsp;true;
		this.fireEvent(&#39;wait&#39;);
		this._excute(this._nRemained,&nbsp;true);
		this._nRemained&nbsp;=&nbsp;0;
		return&nbsp;true;
	}
}).extend(jindo.Component);
</pre>
		</div>
	</div>
</div>

			</div>
		</div>
		<!-- // main content -->

	</div>
	<!-- // container -->

	<!-- footer -->
	<div id="footer">
		<p>Copyright ©<a href="http://nhncorp.com/" target="_blank">NHN Corp.</a> Platform Ajax Team. All Rights Reserved.</p>
	</div>
	<!-- // footer -->

</div>
<!-- // wrap -->

<style type="text/css">

	.item {
		transition:background .2s linear;
		-webkit-transition:background .2s linear;
		-moz-transition:background .2s linear;
		-o-transition:background .2s linear;
		-ms-transition:background .2s linear;
	}
	
	.highlight {
		background-color:#ffffd8 !important;
	}
	
	li.selected a.highlight {
		background-color:#aa8 !important;
	}
	
	.hide-deprecated .deprecated-item, .hide-inherited .inherited-item, .private {
		display:none;
	}
	
	.scrollbar-v, .scrollbar-h { display:none; }
	.scrollbar-show { display:block; }
	
	.api-page .tbl_fold .more_history { display:none; }
	
	/* FILE */
	.file pre.code {
		border:1px solid #ccc;
		padding:0;
	}
	
	.file ol {
		padding-left: 4em;
		background-color: #f9f9f9;
	}

	.file ol li {
		list-style: decimal;
		border-left:1px solid #ccc;
		padding:2px 4px;
	}
	
	.file li.L1, .file li.L3, .file li.L5, .file li.L7, .file li.L9 {
		background-color: #f9f9f9;	
	}

	.file li.L0, .file li.L2, .file li.L4, .file li.L6, .file li.L8 { 
		background-color: #f0f0f0;
	}
	
</style>
<script type="text/javascript" src="../assets/prettify/prettify-min.js"></script>
<script type="text/javascript" src="../assets/hash.js"></script>
<script type="text/javascript" src="../assets/api-list.js"></script>
<script type="text/javascript" src="../assets/api-search.js"></script>
<script type="text/javascript" src="../assets/../api.js?callback=APISearch.setData"></script>
<script type="text/javascript">
	var projectRoot = "../";
	var projectAssets = "../assets";
	
    apiDocs(projectAssets);	
</script>
</body>
</html>